﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProgNetComponents.Design.Attributes
{
    /// <summary>
    /// ItemTypePropertyAttribute
    /// </summary>
    [AttributeUsage(AttributeTargets.Property)]
    public class ItemTypePropertyAttribute : Attribute
    {
        /// <summary>
        /// Property name
        /// </summary>
        public string ItemTypeProperty
        {
            get;
            set;
        }
        /// <summary>
        /// Creates ItemTypePropertyAttribute instance
        /// </summary>
        /// <param name="itemTypeProperty"></param>
        public ItemTypePropertyAttribute(string itemTypeProperty)
        {
            ItemTypeProperty = itemTypeProperty;
        }
    }
}
